package com.imchen.cms.cmscore.dao;

import com.imchen.cms.cmscore.model.Html;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HtmlMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Html record);

    int insertSelective(Html record);

    Html selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Html record);

    int updateByPrimaryKey(Html record);

    Html selectByAidTid(@Param("articleId") Integer articleId,@Param("templateId") Integer templateId);
}